<%--
  Created by IntelliJ IDEA .
  User: Baggio
  Date: 2017-11-13
  Time: 18:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

    <meta charset="UTF-8">
    <title>先锋号</title>
    <%@ include file="/common/include-core.jsp" %>
    <%@ include file="/common/include-web.jsp" %>
    <link rel="stylesheet" href="/static/css/web/pioneer/head.css">

 <div class="header">
     <div class="header_box">
        <img src="/static/images/web/pioneer/head/u2.png" alt="">
     </div>
 </div>
<div class="top_nav">
    <div class="nav">
        <a href="http://www.saile.cc/" class="home">首页</a>
        <a href="http://www.saile.cc/article" class="information_">资讯</a>
        <a href="http://read.saile.cc/" class="read_">阅读</a>
        <a href="http://essay.saile.cc/" class="writing_">写作</a>
        <a href="http://video.saile.cc" class="Auditions_">视听</a>
        <a href="http://essay.saile.cc/manuscript/products" class="mall_">商城</a>
        <a href="http://zt.saile.cc" class="special_">专题</a>
        <a href="http://redscarf.saile.cc" class="pionerr_">先锋号</a>
        <span class="state_">
            <c:if test="${empty user}">
            <span class="state_01">
                <a href="http://login.saile.cc">登录</a>
                <img src="/static/images/web/pioneer/head/u26.png" alt="">
                <a href="http://login.saile.cc/index/register">注册</a>
            </span>
            </c:if>
<c:if test="${!empty user}">
            <span class="state_02">
                <a href="http://uc.saile.cc/106703/"><span><img src="/static/images/web/pioneer/head/account.png" alt=""></span>${user.nickName}</a>
                <a href="http://uc.saile.cc/shopcart/index/"><span><img src="/static/images/web/pioneer/head/shop.png" alt=""></span></a>
                <a href="http://uc.saile.cc/message/inbox/"><span><img src="/static/images/web/pioneer/head/comments.png" alt=""></span></a>
                <a href="javascript:void(0);" class="set_up">
                    <span><img src="/static/images/web/pioneer/head/set.png" alt=""></span>
                </a>
                <div class="hide">
                        <a href="http://uc.saile.cc/106703/esy/">我的文章</a>
                        <a href="http://uc.saile.cc/106703/book/">我的书架</a>
                        <a href="http://uc.saile.cc/106703/bkrev/">我的书评</a>
                        <a href="http://uc.saile.cc/pers/">我的设置</a>
                        <a href="http://uc.saile.cc/adrs/">地址设置</a>
                        <a href="http://www.saile.cc/index/loginoutall">注销登录</a>
                    </div>
            </span>
</c:if>
        </span>
    </div>
</div>
<script>
   $(function(){
       /*$(".state_02 .set_up").mousemove(function(){
           $(".state_02 .hide").show();
       });
       $(".state_02 .set_up").mouseout(function(){
           setTimeout(function(){
               $(".state_02 .hide").hide();
           },2000)
       });*/
       $(".state_02 .hide").mousemove(function(){
           $(this).show();
       });
       $(".state_02 .hide").mouseout(function(){
           $(this).hide();
       });
       $(".state_02 .set_up").hover(function () {
           $(".state_02 .hide").show();
       },function(){
           $(".state_02 .hide").hide();
       })


   })
</script>
